package io.github.wanggit.antrpc.client.config;

import io.github.wanggit.antrpc.client.zk.IZkClient;

/** 配置监听器，监听ZooKeeper中的节点变化 */
public interface IConfigListener {

    void listen(IConfigContainer configContainer, IZkClient zkClient, String[] paths)
            throws ConfigListenException;

    void doFirstFetch(IConfigContainer configContainer, IZkClient zkClient, String[] paths);
}
